// pages/vr/vr.js
const db = wx.cloud.database();
const _ = db.command;
Page({

    /**
     * 页面的初始数据
     */
    data: {
        url:"",
    },

    onLoad:function(options){
    if(options.id!=null)
    {

        var times = new Date().getTime(); 
        var url = "https://agriculture-4g9roniha194f9d1-1311368105.tcloudbaseapp.com/panoramic/index.html?path="+options.id+"&"+times
        this.setData({
            url:url
        })
    }
    }
})